﻿using Abp.Runtime.Caching;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AVIS.OutBound.FrequentTravellerPartners.Cache
{
    public static class FTMangerExtensions
    {
        public static ITypedCache<string, List<FrequentTravellerpartnerCacheItem>> GetFrequentTravellerpartnerCache(this ICacheManager cacheManager)
        {
            return cacheManager.GetCache<string, List<FrequentTravellerpartnerCacheItem>>(FrequentTravellerpartnerCacheItem.CacheName);
        }
    }
}
